package com.sunlx.product.domain.entity;

import com.sunlx.product.dictionary.BooleanBaseFlag;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TODO
 *
 * @author Sunluxin
 * @date 2023/1/15 14:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TableAna {

    private String tableName;
    private String followContainFlag= BooleanBaseFlag.NOT.getLable();
    private String needChangeFlag=BooleanBaseFlag.NOT.getLable();
    private Integer needDropNum=0;
    private Integer needModifirNum=0;
    private Integer needAddNum=0;

    public void addNeedDropNum(){
        this.setNeedChangeFlag(BooleanBaseFlag.IS.getLable());
        needDropNum++;
    }
    public void addNeedModifirNum(){
        this.setNeedChangeFlag(BooleanBaseFlag.IS.getLable());
        needModifirNum++;
    }
    public void addNeedAddNum(){
        this.setNeedChangeFlag(BooleanBaseFlag.IS.getLable());
        needAddNum++;
    }

}
